package kr.saeildamil.androidstudty.ch06;

import kr.saeildamil.androidstudty.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;

public class Codelayout extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.codelayout);

		LinearLayout MyLinear=(LinearLayout)findViewById(R.id.mylinear);
		MyLinear.setOrientation(LinearLayout.HORIZONTAL);

		Button MyBtn = (Button)findViewById(R.id.mybutton);
		MyBtn.setTextSize(40);

		EditText MyEdit = (EditText)findViewById(R.id.myedit);
		MyEdit.setBackgroundColor(0xff00ff00);
	}
}